package cn.jervain.nut.auth.core.authentication;

import cn.jervain.nut.auth.core.token.Token;

public interface Authentication<T> {

    default String getIdentity() {
        return null;
    }

    default String getCredentials() {
        return null;
    }

    default boolean isLocked() {
        return false;
    }

    default Token<T> transform() {
        throw new UnsupportedOperationException();
    }

}
